←Select platform

Width Property

Summary
Custom page width in inches.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public double Width { get; set; } 
@property (nonatomic, assign) double width; 
public double getWidth() 
public void setWidth(double width) 
public: 
property double Width { 
   double get(); 
   void set (    double ); 
} 
Width # get and set (DocumentWriterSvgPage) 

Property Value

Custom page width in inches. Default value is 0.

Remarks

The DocumentWriterSvgPage.Width and DocumentWriterSvgPage.Height properties can be used to set a custom page size in inches. When the values are the default of 0, the framework will obtain the page width and height automatically from the ISvgDocument object set in SvgDocument when AddPage or InsertPage is called. If it is desired to create pages at a custom size, then simply set the values (in inches) in DocumentWriterSvgPage.Width and DocumentWriterSvgPage.Height before calling AddPage or InsertPage.

Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Writer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.