Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Svg Namespace / SvgAspectRatioAlign Enumeration

In This Topic
    SvgAspectRatioAlign Enumeration
    In This Topic
    Specifies whether to force uniform scaling and if so, the alignment method to use.
    Syntax
    'Declaration
     
    Public Enum SvgAspectRatioAlign 
       Inherits System.Enum
    public enum SvgAspectRatioAlign : System.Enum 
    Members
    MemberDescription
    NoneDo not force uniform scaling.
    XMaxYMaxAlign the MinX + Width of the element's 'viewBox' with the maximum X value of the SVG viewport. Align the MinY + Height of the element's 'viewBox' with the maximum Y value of the SVG viewport.
    XMaxYMidAlign the MinX + Width of the element's 'viewBox' with the maximum X value of the SVG viewport. Align the midpoint Y value of the element's 'viewBox' with the midpoint Y value of the SVG viewport.
    XMaxYMinAlign the MinX + Width of the element's 'viewBox' with the maximum X value of the SVG viewport. Align the MinY of the element's 'viewBox' with the smallest Y value of the SVG viewport.
    XMidYMaxAlign the midpoint X value of the element's 'viewBox' with the midpoint X value of the SVG viewport. Align the MinY + Height of the element's 'viewBox' with the maximum Y value of the SVG viewport.
    XMidYMidAlign the midpoint X value of the element's 'viewBox' with the midpoint X value of the SVG viewport. Align the midpoint Y value of the element's 'viewBox' with the midpoint Y value of the SVG viewport.
    XMidYMinAlign the midpoint X value of the element's 'viewBox' with the midpoint X value of the SVG viewport. Align the MinY of the element's 'viewBox' with the smallest Y value of the SVG viewport.
    XMinYMaxAlign the MinX of the element's 'viewBox' with the smallest X value of the SVG viewport. Align the MinY + Height of the element's 'viewBox' with the maximum Y value of the SVG viewport.
    XMinYMidAlign the MinX of the element's 'viewBox' with the smallest X value of the SVG viewport. Align the midpoint Y value of the element's 'viewBox' with the midpoint Y value of the SVG viewport.
    XMinYMinAlign the MinX of the element's 'viewBox' with the smallest X value of the SVG viewport. Align the MinY of the element's 'viewBox' with the smallest Y value of the SVG viewport.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             GrapeCity.Documents.Svg.SvgAspectRatioAlign

    See Also