[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgViewBox

SvgViewBox Struct

Represents a rectangle in user space that should be mapped to the bounds of the SVG viewport established by the given element.

Implements
Namespace: GrapeCity.Documents.Svg
Assembly: DS.Documents.Imaging.dll
Syntax
public struct SvgViewBox : IEquatable<SvgViewBox>
Public Structure SvgViewBox
    Implements IEquatable(Of SvgViewBox)

Constructors

Name Description
SvgViewBox(RectangleF)

Initializes a new instance of the SvgViewBox struct from a RectangleF.

SvgViewBox(float, float, float, float)

Initializes a new instance of the SvgViewBox struct.

Properties

Name Description
Height

Gets or sets the height of the viewport.

MinX

Gets or sets the position where the viewport starts horizontally.

MinY

Gets or sets the position where the viewport starts vertically.

Width

Gets or sets the width of the viewport.

Methods

Name Description
Equals(SvgViewBox)

Determines whether the specified SvgViewBox is equal to this instance.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this struct.

ToRectangleF()

Returns a RectangleF corresponding to the current SvgViewBox.

ToString()

Returns a string that represents the current struct.