VisioSvgSaveOptionsFluent
OfficeIMO.Visio
The fluent methods of VisioSvgSaveOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- VisioSvgSaveOptionsFluent
Methods
public static VisioSvgSaveOptions BackgroundColor(VisioSvgSaveOptions visioSvgSaveOptions, OfficeColor? value) #Sets VisioSvgSaveOptions.BackgroundColor: Optional page background. Defaults to white; set to null for transparent output.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { BackgroundColor = value }; visioSvgSaveOptions.BackgroundColor(value);public static VisioSvgSaveOptions Fonts(VisioSvgSaveOptions visioSvgSaveOptions, OfficeFontFaceCollection value) #Sets VisioSvgSaveOptions.Fonts: Caller-supplied deterministic TrueType faces embedded in SVG output.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value OfficeIMO.Drawing.OfficeFontFaceCollection
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { Fonts = value }; visioSvgSaveOptions.Fonts(value);public static VisioSvgSaveOptions Fonts(VisioSvgSaveOptions visioSvgSaveOptions, Action<OfficeFontFaceCollection> configure) #Configures VisioSvgSaveOptions.Fonts in place (creating it when not set): Caller-supplied deterministic TrueType faces embedded in SVG output.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- configure System.Action<OfficeIMO.Drawing.OfficeFontFaceCollection>
- Configures the value.
public static VisioSvgSaveOptions IncludeXmlDeclaration(VisioSvgSaveOptions visioSvgSaveOptions, bool value = true) #Sets VisioSvgSaveOptions.IncludeXmlDeclaration: Gets or sets whether an XML declaration should be included.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { IncludeXmlDeclaration = value }; visioSvgSaveOptions.IncludeXmlDeclaration(value);public static VisioSvgSaveOptions LayerMode(VisioSvgSaveOptions visioSvgSaveOptions, VisioLayerRenderMode value) #Sets VisioSvgSaveOptions.LayerMode: Layer selection for the preview. Defaults to visible screen layers.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value OfficeIMO.Visio.VisioLayerRenderMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { LayerMode = value }; visioSvgSaveOptions.LayerMode(value);public static VisioSvgSaveOptions PageIndex(VisioSvgSaveOptions visioSvgSaveOptions, int value) #Sets VisioSvgSaveOptions.PageIndex: Zero-based page index used when exporting a document. Defaults to the first page.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { PageIndex = value }; visioSvgSaveOptions.PageIndex(value);public static VisioSvgSaveOptions PixelsPerInch(VisioSvgSaveOptions visioSvgSaveOptions, double value) #Sets VisioSvgSaveOptions.PixelsPerInch: Number of SVG units used per physical page inch after applying the page's drawing scale. Defaults to 96 so the SVG maps naturally to browser pixels.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { PixelsPerInch = value }; visioSvgSaveOptions.PixelsPerInch(value);public static VisioSvgSaveOptions RenderConnectorLabels(VisioSvgSaveOptions visioSvgSaveOptions, bool value = true) #Sets VisioSvgSaveOptions.RenderConnectorLabels: Gets or sets whether connector labels are emitted.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { RenderConnectorLabels = value }; visioSvgSaveOptions.RenderConnectorLabels(value);public static VisioSvgSaveOptions RenderStencilArtwork(VisioSvgSaveOptions visioSvgSaveOptions, bool value = true) #Sets VisioSvgSaveOptions.RenderStencilArtwork: Gets or sets whether built-in OfficeIMO stencil metadata is projected as dependency-free vector artwork.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { RenderStencilArtwork = value }; visioSvgSaveOptions.RenderStencilArtwork(value);public static VisioSvgSaveOptions RenderText(VisioSvgSaveOptions visioSvgSaveOptions, bool value = true) #Sets VisioSvgSaveOptions.RenderText: Gets or sets whether shape text is emitted.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { RenderText = value }; visioSvgSaveOptions.RenderText(value);public static VisioSvgSaveOptions ResolveConnectorLabelOverlaps(VisioSvgSaveOptions visioSvgSaveOptions, bool value = true) #Sets VisioSvgSaveOptions.ResolveConnectorLabelOverlaps: Gets or sets whether connector labels are nudged at render time to avoid page edges, unrelated shapes, and earlier labels.
Parameters
- visioSvgSaveOptions OfficeIMO.Visio.VisioSvgSaveOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Visio.VisioSvgSaveOptions { ResolveConnectorLabelOverlaps = value }; visioSvgSaveOptions.ResolveConnectorLabelOverlaps(value);