Delegate OutputPropertiesProvider
Called by the framework when native output settings for a file need to be determined.
The implementation should set the output file name, codepage, etc. of the output properties based on the file conversion info.
Namespace: Sdl.FileTypeSupport.Framework.IntegrationApi
Assembly: Sdl.FileTypeSupport.Framework.Core.dll
Syntax
public delegate void OutputPropertiesProvider(INativeOutputFileProperties outputProperties, IPersistentFileConversionProperties conversionProperties, IOutputFileInfo suggestedFileInfo);
Parameters
Type | Name | Description |
---|---|---|
INativeOutputFileProperties | outputProperties | |
IPersistentFileConversionProperties | conversionProperties | |
IOutputFileInfo | suggestedFileInfo | File name and other output properties as
proposed by file type components' implementation of
GetProposedOutputFileInfo(IPersistentFileConversionProperties, IOutputFileInfo),
or |
Constructors
OutputPropertiesProvider(Object, IntPtr)
Called by the framework when native output settings for a file need to be determined.
The implementation should set the output file name, codepage, etc. of the output properties based on the file conversion info.
Declaration
public OutputPropertiesProvider(object object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
Object | object | |
IntPtr | method |
Methods
BeginInvoke(INativeOutputFileProperties, IPersistentFileConversionProperties, IOutputFileInfo, AsyncCallback, Object)
Called by the framework when native output settings for a file need to be determined.
The implementation should set the output file name, codepage, etc. of the output properties based on the file conversion info.
Declaration
public virtual IAsyncResult BeginInvoke(INativeOutputFileProperties outputProperties, IPersistentFileConversionProperties conversionProperties, IOutputFileInfo suggestedFileInfo, AsyncCallback callback, object object)
Parameters
Type | Name | Description |
---|---|---|
INativeOutputFileProperties | outputProperties | |
IPersistentFileConversionProperties | conversionProperties | |
IOutputFileInfo | suggestedFileInfo | |
AsyncCallback | callback | |
Object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(IAsyncResult)
Called by the framework when native output settings for a file need to be determined.
The implementation should set the output file name, codepage, etc. of the output properties based on the file conversion info.
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
Invoke(INativeOutputFileProperties, IPersistentFileConversionProperties, IOutputFileInfo)
Called by the framework when native output settings for a file need to be determined.
The implementation should set the output file name, codepage, etc. of the output properties based on the file conversion info.
Declaration
public virtual void Invoke(INativeOutputFileProperties outputProperties, IPersistentFileConversionProperties conversionProperties, IOutputFileInfo suggestedFileInfo)
Parameters
Type | Name | Description |
---|---|---|
INativeOutputFileProperties | outputProperties | |
IPersistentFileConversionProperties | conversionProperties | |
IOutputFileInfo | suggestedFileInfo |