←Select platform

MultiPageEnableMargins Property

Summary

Considers the margins when rendering a sheet or a page.

Syntax
C#
VB
C++
public bool MultiPageEnableMargins { get; set; } 
Public Property MultiPageEnableMargins() As Boolean 
   Get 
   Set 
public:  
   property bool MultiPageEnableMargins 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true to consider the margins when rendering a sheet or a page; otherwise, false. Default value is false.

Remarks

When the value of MultiPageEnableMargins is true, the engine will use the margins set in CodecsRasterizeDocumentLoadOptions.LeftMargin, TopMargin, RightMargin and BottomMargin when rendering a sheet or page. These margins can be set using rasterCodecs.Options.RasterizeDocument.Load.

When the value of MultiPageEnableMargins is false, the margins are ignored.

Note that margins are supported when loading XLSX files, not the legacy XLS files.

Example

For an example, refer to CodecsXlsLoadOptions.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.