Layer Properties

The Layer type exposes the following members.

Properties
  NameDescription
Public propertyAutoAdjustPalette
Gets or sets a value indicating whether automatic adjust palette.
(Inherited from Image.)
Public propertyBackgroundColor
Gets or sets a value for the background color.
(Inherited from Image.)
Public propertyBitsPerPixel
Gets the image bits per pixel count.
(Overrides ImageBitsPerPixel.)
Public propertyBlendingOptions
Gets the blending options.
Public propertyCode exampleBlendModeKey
Gets or sets the blend mode key.
Public propertyBlendModeSignature
Gets the blend mode signature.
Public propertyBottom
Gets or sets the bottom layer position.
Public propertyBounds
Gets the image bounds.
(Inherited from Image.)
Public propertyBufferSizeHint
Gets or sets the buffer size hint which is defined max allowed size for all internal buffers.
(Inherited from Image.)
Public propertyChannelInformation
Gets or sets the channel information.
Public propertyChannelsCount
Gets the layer's channels count.
Public propertyClipping
Gets or sets the layer clipping. 0 = base, 1 = non-base.
Public propertyContainer
Gets the Image container.
(Inherited from Image.)
Protected propertyDataLoader
Gets or sets the data loader.
(Inherited from RasterImage.)
Public propertyDataStreamContainer
Gets the object's data stream.
(Inherited from DataStreamSupporter.)
Public propertyCode exampleDisplayName
Gets or sets the display name of the layer.
Public propertyDisposed
Gets a value indicating whether this instance is disposed.
(Inherited from DisposableObject.)
Public propertyExtraLength
Gets the layer extra information length in bytes.
Public propertyFileFormat
Gets a value of file format
(Inherited from Image.)
Public propertyFiller
Gets or sets the layer filler.
Public propertyFillOpacity
Gets or sets the fill opacity.
Public propertyFlags
Gets or sets the layer flags. bit 0 = transparency protected; bit 1 = visible; bit 2 = obsolete; bit 3 = 1 for Photoshop 5.0 and later, tells if bit 4 has useful information; bit 4 = pixel data irrelevant to appearance of document.
Public propertyHasAlpha
Gets a value indicating whether this instance has alpha.
(Overrides RasterImageHasAlpha.)
Public propertyHasBackgroundColor
Gets or sets a value indicating whether image has background color.
(Inherited from Image.)
Public propertyHasTransparentColor
Gets a value indicating whether image has transparent color.
(Inherited from RasterImage.)
Public propertyHeight
Gets the image height.
(Overrides ImageHeight.)
Public propertyHorizontalResolution
Gets or sets the horizontal resolution, in pixels per inch, of this RasterImage.
(Inherited from RasterImage.)
Public propertyImageOpacity
Gets opacity of this image.
(Inherited from RasterImage.)
Public propertyInterruptMonitor
Gets or sets the interrupt monitor.
(Inherited from Image.)
Public propertyIsCached
Gets a value indicating whether image data is cached currently.
(Inherited from RasterCachedImage.)
Public propertyIsRawDataAvailable
Gets a value indicating whether raw data loading is available.
(Inherited from RasterImage.)
Public propertyCode exampleIsVisible
Gets or sets a value indicating whether the layer is visible
Public propertyIsVisibleInGroup
Gets a value indicating whether this instance is visible in group(If layer is not in group it means root group).
Public propertyLayerBlendingRangesData
Gets or sets the layer blending ranges data.
Public propertyLayerCreationDateTime
Gets or sets the layer creation date time.
Public propertyLayerLock
Gets or sets the layer lock. Note that if flag LayerFlags.TransparencyProtected is set it will be overwritten by layer lock flag. To return LayerFlags.TransparencyProtected flag need to apply for layer option layer.Flags |= LayerFlags.TransparencyProtected
Public propertyLayerMaskData
Gets or sets the layer mask data.
Public propertyLayerOptions
Gets the layer options.
Public propertyLeft
Gets or sets the left layer position.
Public propertyLength
Gets the overall layer length in bytes.
Public propertyName
Gets or sets the layer name.
Public propertyOpacity
Gets or sets the layer opacity. 0 = transparent, 255 = opaque.
Public propertyPalette
Gets or sets the color palette.
(Inherited from Image.)
Public propertyPremultiplyComponents
Gets or sets a value indicating whether the image components must be premultiplied.
(Inherited from RasterImage.)
Public propertyRawCustomColorConverter
Gets or sets the custom color converter
(Inherited from RasterImage.)
Public propertyRawDataFormat
Gets the raw data format.
(Inherited from RasterImage.)
Public propertyRawDataSettings
Gets the current raw data settings. Note when using these settings the data loads without conversion.
(Inherited from RasterImage.)
Public propertyRawFallbackIndex
Gets or sets the fallback index to use when palette index is out of bounds
(Inherited from RasterImage.)
Public propertyRawIndexedColorConverter
Gets or sets the indexed color converter
(Inherited from RasterImage.)
Public propertyRawLineSize
Gets the raw line size in bytes.
(Inherited from RasterImage.)
Public propertyResources
Gets or sets the layer resources.
Public propertyRight
Gets or sets the right layer position.
Public propertySheetColorHighlight
Gets or sets the decorative sheet color highlight in layers' list
Public propertySize
Gets the image size.
(Inherited from Image.)
Public propertyTop
Gets or sets the top layer position.
Public propertyTransparentColor
Gets the image transparent color.
(Inherited from RasterImage.)
Public propertyUpdateXmpData
Gets or sets a value indicating whether to update the XMP metadata.
(Inherited from RasterImage.)
Public propertyUseRawData
Gets or sets a value indicating whether to use raw data loading when the raw data loading is available.
(Inherited from RasterImage.)
Public propertyVerticalResolution
Gets or sets the vertical resolution, in pixels per inch, of this RasterImage.
(Inherited from RasterImage.)
Public propertyWidth
Gets the image width.
(Overrides ImageWidth.)
Public propertyXmpData
Gets or sets the XMP metadata.
(Inherited from RasterImage.)
See Also