IPXC_Document::GetEncodersForStreamType Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 3: Line 3:
 
{{#customTitle:IPXC_Document::GetEncodersForStreamType Method}}
 
{{#customTitle:IPXC_Document::GetEncodersForStreamType Method}}
 
{{#parentPage:PXV:IPXC_Document#Methods|GetEncodersForStreamType|method}}
 
{{#parentPage:PXV:IPXC_Document#Methods|GetEncodersForStreamType|method}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets encoders for current document.
  
 
== Syntax ==
 
== Syntax ==
Line 15: Line 14:
 
;sType
 
;sType
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
 +
:Default encoders for stream type:
 +
:* '''"Image.TrueColor"'''
 +
:* '''"Image.Gray"'''
 +
:* '''"Image.Indexed"'''
 +
:* '''"Image.Monochrome"'''
 +
:* '''"General"'''
 +
:* '''"Fonts"'''
 +
:* '''"Page.Content"'''
 +
:* '''"Attachments"'''
 
;pFilters
 
;pFilters
:[out, retval]  Pointer to [[PXV:IPXS_EncodeFiltersArray|IPXS_EncodeFiltersArray]].
+
:[out, retval]  Pointer to [[PXV:IPXS_EncodeFiltersArray|IPXS_EncodeFiltersArray]] containing the encode filters array.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 23:47, 23 June 2016


Gets encoders for current document.

Syntax

HRESULT GetEncodersForStreamType([in]           LPWSTR                     sType,
                                 [out, retval]  IPXS_EncodeFiltersArray**  pFilters);

Parameters

sType
[in] Value of LPWSTR.
Default encoders for stream type:
  • "Image.TrueColor"
  • "Image.Gray"
  • "Image.Indexed"
  • "Image.Monochrome"
  • "General"
  • "Fonts"
  • "Page.Content"
  • "Attachments"
pFilters
[out, retval] Pointer to IPXS_EncodeFiltersArray containing the encode filters array.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IPXC_Document