←Select platform

Width Property

Summary

Custom page width in inches.

Syntax

C#
VB
Java
Objective-C
C++
public double Width { get; set; } 
Public Property Width As Double 
@property (nonatomic, assign) double width 
public double getWidth() 
public void setWidth(double width) 
             
public: 
property double Width { 
   double get(); 
   void set (    double ); 
} 

Property Value

Custom page width in inches. Default value is 0.

Remarks

The DocumentSvgPage.Width and DocumentSvgPage.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 DocumentSvgPage.Width and DocumentSvgPage.Height before calling AddPage or InsertPage.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentWriters Assembly