Click or drag to resize

MultimediaLink Class

Applicable for: 7.0

Extends the base MultimediaLinkStructure class that points to a MultimediaRecord record containing encoded image or sound objects.
Inheritance Hierarchy

Namespace: Patagames.GedcomNetSdk.Structures.Ver70
Assembly: Patagames.Gedcom.Net.Sdk (in Patagames.Gedcom.Net.Sdk.dll) Version: 1.0.8
Syntax
public class MultimediaLink : MultimediaLinkStructure

The MultimediaLink type exposes the following members.

Constructors
 NameDescription
Public methodMultimediaLinkInitializes a new instance of the MultimediaLink class
Top
Properties
 NameDescription
Public propertyCustomTags Gets the collection of сгыещь tags encountered in this context.
(Inherited from Context)
Public propertyHeight Gets or sets the bnumber of pixels to display vertically for the image.
Public propertyLeft Gets or sets left is a number of pixels to not display from the left side of the image.
Public propertyMultimediaId Gets or sets the ID of the MultimediaRecord record.
Public propertyTitle Gets or sets the title of a work, record, item, or object.
Public propertyTop Gets or sets a number of pixels to not display from the top side of the image.
Public propertyUnknownTags Gets the collection of unknown tags encountered in this context.
(Inherited from Context)
Public propertyWidth Gets or sets the number of pixels to display horizontally for the image.
Top
Methods
 NameDescription
Protected methodContextClosed Called when the context is closed. The default implementation does nothing.
(Inherited from Context)
Protected methodContextOpened Called when a context is opened. The default implementation does nothing.
(Inherited from Context)
Public methodDeserialize Read data from the parser and deserialize it into the Gedcom.Net SDK class library.
(Inherited from Context)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetValueT Hets the value and main tags of the specified propName.
(Inherited from Context)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodPreporcessTag Called before tag processing begins. The default implementation does nothing.
(Inherited from Context)
Protected methodProcessCustomTag Add the custom tag into the CustomTags collection.
(Inherited from Context)
Protected methodProcessUnknownTag When overridden, tries to process a tag that cannot be processed by the GEDCOM mechanism, because the tag is unknown or encountered in an unexpected context.
(Inherited from Context)
Public methodSerialize Seserialize the Gedcom.Net SDK class library and write data to the composer.
(Inherited from Context)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
The optional Title supersedes any Title included in the MultimediaRecord record.

The optional Top, Left, Width, and Height properties indicates that a subregion of an image represents or applies to the superstructure(CROP).

The above is only valid when the superstructure links to a MultimediaRecord with at least 1 file that refers to an external file with a defned pixel unit.

Left and Top indicate the top-left corner of the region to display. Width and Height indicate how many pixels wide and tall the region to display is. If omitted, Left and Top each default to 0; Width defaults to the image width minus Left; and Height defaults to the image height minus Top.

If the superstructure links to a MultimediaRecord record that includes multiple files, the crop applies to the first file to which it can apply, namely the first external file with a defined pixel unit.

It is recommended that crop be used only with a single-file MultimediaRecord record.

The following are errors:

  • Left or Left + Width exceed the image width.
  • Top or Top + Height exceed the image height.
  • Crop applied to a non-image or image without a defned pixel unit.

See Also