Table of Contents

Property EnsureViewboxPosition

Namespace
SharpVectors.Renderers.Wpf
Assembly
SharpVectors.Rendering.Wpf.dll

EnsureViewboxPosition

Gets or sets a value to indicate applying a translate transform to the viewbox to ensure it is visible when rendered.

public bool EnsureViewboxPosition { get; set; }

Property Value

bool

This determines whether a transformation is applied to the rendered drawing. For drawings where the top-left position of the viewbox is off the screen, due to negative values, this will ensure the drawing is visible.

The default value is true. Set this value to false if you wish to apply your own transformations to the drawings.