IMcImage2GetSourceInfo Method
|
|
Find the source from which this image was created, if possible.
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxFunction GetSourceInfo (
<OutAttribute> ByRef SourceObject As Object,
<OutAttribute> ByRef DecoratedName As String,
<OutAttribute> ByRef RectInSource As Object,
<OutAttribute> ByRef SizeRatioFromSource As Object,
<OutAttribute> ByRef RotationFromSource As Double,
<OutAttribute> ByRef OtherSourceInfo As Object
) As Boolean
Parameters
- SourceObject
- Type: SystemObject
The source object that created this image, if it still exists and is a named operator.
The SourceObject will typically be a McImage, but under some circumstances may be a
some other type of operator such as a McImageSet. This will be set to Nothing if the source no
longer exists, was un-named or was not an operator. - DecoratedName
- Type: SystemString
The full McObject name, if any, including namespace and parent, of the
source operator. If the source object was un-named or not an operator, this will
be an empty string. - RectInSource
- Type: SystemObject
If known, the rectangle in the source from which the image was taken.
If not known, the result is returned as empty or missing. - SizeRatioFromSource
- Type: SystemObject
If known, a length-2 array of Integer giving the XY decimation
of the image data from from the source. If not known, the result is returned as
as empty or missing. - RotationFromSource
- Type: SystemDouble
If known, a double value giving the angle by which the image
was rotated from the source in degrees CCW. If not known, the value is given as zero. - OtherSourceInfo
- Type: SystemObject
If known, other information about the source, as appropriate for
its type. If not known, the result is returned as as empty or missing.
Return Value
Type:
BooleanTrue if source information is avalible for this image, False otherwise. The
returned SourceObject may be returned as Nothing when source information is known if
the SourceObject no longer exists; in this case, the RectInSource, SizeRatioFromSource
and OtherSourceInfo will still be valid.
RemarksThis method reports information about the source that created the.
See AlsoReference
IMcImage2GetSourceInfo(Object, String, Object, Object, Double, Object)