[]
        
(Showing Draft Content)

C1.WPF.C1ZoomUnit

C1ZoomUnit Struct

Represent a zoom which can be expresed like a fixed value, or relative to the viewport.

Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.dll
Syntax
[TypeConverter(typeof(C1ZoomUnitTypeConverter))]
public struct C1ZoomUnit

Constructors

Name Description
C1ZoomUnit(double)

Initializes a new instance of the C1ZoomUnit struct.

C1ZoomUnit(double, C1ZoomUnitType)

Initializes a new instance of the C1ZoomUnit struct.

Properties

Name Description
Fill

Gets the zoom which auto-adjust to fill the viewport.

IsFill

Gets a value indicating whether the zoom will be adjusted to fill the viewport.

IsFixed

Gets a value indicating whether the zoom is a fixed value.

IsOneItem

Gets a value indicating whether the zoom will be adjusted to show one item entirely.

OneItem

Gets the zoom which auto-adjust to show one item entirely in the viewport.

Type

Gets the type of unit.

Value

Gets the value.

Methods

Name Description
Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

ToString()

Returns a string that represents this instance.

Operators

Name Description
operator ==(C1ZoomUnit, C1ZoomUnit)

Compares two C1ZoomUnit structures for equality.

operator !=(C1ZoomUnit, C1ZoomUnit)

Compares two C1ZoomUnit structures to determine if they are not equal.