NevronOpenVision
Nevron.Nov.Graphics Namespace / NImageSource Class / GetNativeData Method
In This Topic
    GetNativeData Method (NImageSource)
    In This Topic
    Gets the image source's image data in its native form.
    Syntax
    protected internal abstract NImageSourceData GetNativeData()

    Return Value

    Returns a structure containing the image source's data.
    Remarks
    The method returns a structure that contains the image source's data as it is natively stored by the particular image source type. For encoded image sources the structure contains a byte array with encoded data, for NRaster-based image sources it contains a NRaster.
    The method doesn't throw exceptions, but it is possible that it doesn't return any valid data. In this case you can check the DataException property for a possible exception that may have occured during data retrieval.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also