Visual Basic (Declaration) | |
---|---|
Public Property RightMargin As Double |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CodecsRasterizeDocumentLoadOptions Dim value As Double instance.RightMargin = value value = instance.RightMargin |
C# | |
---|---|
public double RightMargin {get; set;} |
Property Value
A System.Double value that indicates the margin value in Unit to use when rasterizing a document to a raster image. Default value is 1.25 inches. The value of RightMargin must be greater than or equal to 0.For an example, refer to CodecsRasterizeDocumentLoadOptions.
The value of the LeftMargin, TopMargin, RightMargin and BottomMargin are only used when loading RTF and TXT documents. They are not used when loading other document formats such as PDF, XPS and XLS.
If the value of CodecsRasterizeDocumentLoadOptions.Enabled is set to true, then LeftMargin, TopMargin, RightMargin and BottomMargin will be used instead of the following properties:
- When loading RTF documents: CodecsRtfLoadOptions.LeftMargin, CodecsRtfLoadOptions.TopMargin, CodecsRtfLoadOptions.RightMargin and CodecsRtfLoadOptions.BottomMargin
- When loading TXT documents: CodecsTxtLoadOptions.LeftMargin, CodecsTxtLoadOptions.TopMargin, CodecsTxtLoadOptions.RightMargin and CodecsTxtLoadOptions.BottomMargin
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)