[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgLengthUnits

SvgLengthUnits Enum

Represents the type of an SvgLength units.

Namespace: GrapeCity.Documents.Svg
Assembly: GcDocs.Imaging.dll
Syntax
public enum SvgLengthUnits

Fields

Name Description
Auto

The length depends on the values of other properties.

Bottom

Represents the 'bottom' value in 'refY' attribute. Resolved to 100%.

Center

Represents the 'center' value in 'refX' and 'refY' attributes. Resolved to 50%.

Centimeters

Absolute length in centimeters (1cm = 96px/2.54).

Em

Length relative to font size of the element.

Ex

Length relative to x-height of the element’s font .

Inches

Absolute length in inches (1in = 2.54cm = 96px).

Large

Represents the 'large' value in 'font-size' attribute. Resolved to 6/5em.

Larger

Represents the 'larger' value in 'font-size' attribute. Resolved to 120% or the next absolute size.

Left

Represents the 'left' value in 'refX' attribute. Resolved to 0%.

Medium

Represents the 'medium' value in 'font-size' attribute. Resolved to 1em.

Millimeters

Absolute length in millimeters (1mm = 1/10th of 1cm).

Number

A unitless length interpreted as a value in pixels.

Percentage

Indicates a value that is some fraction of another reference value.

Picas

Absolute length in picas (1pc = 1/6th of 1in).

Pixels

Absolute length in pixels (1px = 1/96th of 1in).

Points

Absolute length in points (1pt = 1/72th of 1in).

Right

Represents the 'right' value in 'refX' attribute. Resolved to 100%.

Small

Represents the 'small' value in 'font-size' attribute. Resolved to 8/9em.

Smaller

Represents the 'smaller' value in 'font-size' attribute. Resolved to 100/1.2% or the previous absolute size.

Top

Represents the 'top' value in 'refY' attribute. Resolved to 0%.

XLarge

Represents the 'x-large' value in 'font-size' attribute. Resolved to 3/2em.

XSmall

Represents the 'x-small' value in 'font-size' attribute. Resolved to 3/4em.

XXLarge

Represents the 'xx-large' value in 'font-size' attribute. Resolved to 2em.

XXSmall

Represents the 'xx-small' value in 'font-size' attribute. Resolved to 3/5em.