Message 1 of 5

Not applicable
01-07-2019
03:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to set the heigh of my sheet to 20% bigger than the height of the view, but i get the following errors:
Anyone know what i'm doing wrong?
Error on Line 5 : Property 'Size' is 'ReadOnly'.
Error on Line 6 : Property 'Height' is 'ReadOnly'.
SyntaxEditor Code Snippet
Height = ThisDrawing.Sheet("Sheet:2").View("1To1").Height Width = ThisDrawing.Sheet("Sheet:2").View("1To1").Width With ThisDrawing.Sheet("Sheet:2") .Size = DrawingSheetSizeEnum.kCustomDrawingSheetSize .Height = Round(Height*1.2,0) End With
Regards
Mark
Solved! Go to Solution.