Sets the size of the paper in the drawing.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetPaperSize( _
ByVal Sheet As System.String, _
ByVal Size As System.Integer, _
ByVal Height As System.Double, _
ByVal Width As System.Double _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IImportDxfDwgData
Dim Sheet As System.String
Dim Size As System.Integer
Dim Height As System.Double
Dim Width As System.Double
Dim value As System.Boolean
value = instance.SetPaperSize(Sheet, Size, Height, Width) |
C# | |
---|
System.bool SetPaperSize(
System.string Sheet,
System.int Size,
System.double Height,
System.double Width
) |
C++/CLI | |
---|
System.bool SetPaperSize(
& System.String^ Sheet,
& System.int Size,
& System.double Height,
& System.double Width
) |
Parameters
- Sheet
- Sheet (layout) name of the input file or an empty string for all sheets
- Size
- Size as defined in swDwgPaperSizes_e
- Height
- If Size is swDwgPapersUserDefined, then the height of the paper in meters
- Width
- If Size is swDwgPapersUserDefined, then the width of the paper in meters
Return Value
True if paper size is set, false if not
Example
Remarks
See Also
Availability
SOLIDWORKS 2007 FCS, Revision Number 15.0