[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgReference

SvgReference Class

Represents a reference to another element or resource.

Inheritance
SvgReference
Namespace: GrapeCity.Documents.Svg
Assembly: DS.Documents.Imaging.dll
Syntax
public class SvgReference : IEquatable<SvgReference>, IDisposable
Public Class SvgReference
    Implements IEquatable(Of SvgReference), IDisposable

Constructors

Name Description
SvgReference(GcBitmap, bool)

Initializes a new instance of the SvgReference class with an embedded image.

SvgReference(GcSvgDocument, bool)

Initializes a new instance of the SvgReference class with an embedded SVG document.

SvgReference(string)

Initializes a new instance of the SvgReference class with the specified id.

SvgReference(Uri)

Initializes a new instance of the SvgReference class with the specified Uri object.

Fields

Name Description
None

Gets a reference to nowhere.

Properties

Name Description
Bitmap

Gets the embedded GcBitmap.

ID

Gets the ID of the referenced element.

InJpegFormat

Gets or sets a value indicating whether the bitmap should be encoded in JPEG format (true) or in PNG format (false).

InSvgzFormat

Gets or sets a value indicating whether the embedded SVG document should be encoded using the compressed SVGZ format.

IsDisposed

Gets a value indicating whether the SvgReference has been disposed of.

OwnData

Gets a value indicating whether the embedded GcBitmap or GcSvgDocument should be disposed when disposing the SvgReference.

ReferenceType

Gets the type of the data in SvgReference.

Svg

Gets the embedded GcSvgDocument.

Uri

Gets the reference Uri.

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Equals(SvgReference)

Determines whether the specified SvgReference is equal to this instance.

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 the current object.