Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Svg Assembly > Leadtools.Svg Namespace > SvgDocument Class : ToFlat Method |
public SvgDocument ToFlat( SvgFlatOptions options )
'Declaration
Public Function ToFlat( _ ByVal options As SvgFlatOptions _ ) As SvgDocument
'Usage
Dim instance As SvgDocument Dim options As SvgFlatOptions Dim value As SvgDocument value = instance.ToFlat(options)
- (nullable instancetype)flatCopyWithOptions:(nullable LTSvgFlatOptions *)options error:(NSError **)error
public SvgDocument toFlat(SvgFlatOptions options)
public: SvgDocument^ ToFlat( SvgFlatOptions^ options )
For more information about flat SVG documents and bounds and resolution, refer to SVG Size, Bounds and Flat.
If the value of options is null, then this method will use default options as follows:
Member | Value |
---|---|
SvgFlatOptions.Size |
Leadtools.LeadSizeD.EmptyLeadSizeD.Empty |
Use IsFlat to determine whether this SvgDocument is flat. Use SetFlat to set or clear the internal flattening flag manually.
Use CalculateBounds to calculate the physical (pixel) bounds and resolution of this document and Bounds to obtain these values.
This method returns a copy of the document. To flat an SvgDocument in place, use Flat.