Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

VisioScaleSetting

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
0eef6a5756b9 with working tree changes
Base
ValueType
Modifiers
sealed

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

Constructors

public VisioScaleSetting(double value, VisioMeasurementUnit unit) #

Initializes a new VisioScaleSetting with the supplied value and unit.

Parameters

value double required
Scale magnitude expressed in unit.
unit OfficeIMO.Visio.VisioMeasurementUnit required
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 required

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.