Titlebox changes size, goes beyond border
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am facing a strange problem, and I suspect it could be a bug.
I am creating a new drawing using VB.Net using the following code I found on the forum:
oDrawing = curIvApp.Documents.Add(DocumentTypeEnum.kDrawingDocumentObject, _
curIvApp.GetTemplateFile(DocumentTypeEnum.kDrawingDocumentObject), False)
......
oFrontView = oSheet.DrawingViews.AddBaseView(oDocToDraw, insPtFrontView, viewScale,
ViewOrientationTypeEnum.kFrontViewOrientation,
DrawingViewStyleEnum.kHiddenLineDrawingViewStyle)
It works and creates the drawing. The code also adds the DWG NO in the drawing which is the same as the name of the linked model document.
But the titlebox size changes and it goes beyond the border on the left side. (See image.)
When I do it interactively, everything is fine.
On observation I found that the font size of the Part No. is larger than the font size when done manually?
1. Why does the font size change?
2. But more serious issue is why the titlebox changes the size. It should never happen. Is this a bug. I am using A4 size sheet, portrait. Inventor 2014.
I am really stumped.