[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgLengthUnits

Enum SvgLengthUnits

Namespace
GrapeCity.Documents.Svg
Assembly
GcDocs.Imaging.dll

Represents the type of an SvgLength units.

public enum SvgLengthUnits

Fields

Auto = 10

The length depends on the values of other properties.

Bottom = 14

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

Center = 15

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

Centimeters = 5

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

Em = 2

Length relative to font size of the element.

Ex = 3

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

Inches = 7

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

Large = 20

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

Larger = 23

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

Left = 11

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

Medium = 19

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

Millimeters = 6

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

Number = 0

A unitless length interpreted as a value in pixels.

Percentage = 1

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

Picas = 9

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

Pixels = 4

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

Points = 8

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

Right = 12

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

Small = 18

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

Smaller = 24

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

Top = 13

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

XLarge = 21

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

XSmall = 17

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

XXLarge = 22

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

XXSmall = 16

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