Struct
VisioScaleSetting
OfficeIMO.Visio
Represents a scale value stored on a Visio page (PageScale/DrawingScale).
Inheritance
- ValueType
- VisioScaleSetting
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Property VisioPage.DrawingScale
- Property VisioPage.PageScale
- Method VisioScaleSetting.FromUnit
Constructors
public VisioScaleSetting(double value, VisioMeasurementUnit unit) #Initializes a new VisioScaleSetting with the supplied value and unit.
Parameters
- value double
- Scale magnitude expressed in unit.
- unit OfficeIMO.Visio.VisioMeasurementUnit
- Measurement unit for the scale.
Methods
public static VisioScaleSetting FromUnit(VisioMeasurementUnit unit) #Creates a default scale (1:1) for the specified measurement unit.
Parameters
- unit OfficeIMO.Visio.VisioMeasurementUnit
Returns
VisioScaleSettingInherited Methods
Properties
public double Value { get; set; } #Gets or sets the scale magnitude expressed in VisioScaleSetting.Unit.
public VisioMeasurementUnit Unit { get; set; } #Gets or sets the measurement unit associated with VisioScaleSetting.Value.