CustomFilterBase Members
Include Protected Members
Include Inherited Members
The CustomFilterBase type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CustomFilterBase |
Creates and initializes CustomFilterBase.
|
Methods
Name | Description | |
---|---|---|
CreateSessionState |
Called when a new filter session is created. If the filter overrides this method, it should return an object representing session state that is specific to the filter. It can then access this object using the SessionState property from within OnProcess(PixelRegion, PixelRegion).
|
|
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Dispose(Boolean) |
Called by the Dispose() method.
|
|
OnPrepareAsync |
Called when the filter should load and prepare for rendering.
|
|
OnProcess |
Called when the filter is asked to process a rectangular area of the image.
|
Properties
Name | Description | |
---|---|---|
AcceptedColorMode |
The color mode used, from one of the supported ones.
|
|
ImageSize |
The size of the entire image.
|
|
SessionState |
Session state. If the filter has overridden the CreateSessionState() method, this property holds the object corresponding to the current session.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICustomFilter.BeginProcessing |
Called when the block-based rendering is about to begin, or new source/target buffers are requested.
|
|
ICustomFilter.PrepareAsync |
Load/prepare for processing.
|
|
ICustomFilter.ProcessBlock |
Called when a rectangular block in the image should be processed.
|
|
ICustomFilter2.CreateSession |
Create a new filter session.
|
|
IFilter.Apply |
Internal framework method.
|
|
IFilter.Lock |
Internal framework method.
|
|
IFilter.PrepareAsync |
Internal framework method.
|