IPXV_Plugin::ResetSettings Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Plugin::ResetSettings Method}}
 
{{#customTitle:IPXV_Plugin::ResetSettings Method}}
 +
{{#parentPage:PXV:IPXV_Plugin#Methods|ResetSettings|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Resets plugin's specific settings during resetting Editor's settings. Provided flags describe which kind of settings (e.g. plugin presets) should be kept.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ResetSettings([in] ULONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ResetSettings([in] ULONG nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nFlags''
+
;nFlags
:[in]  Value of ULONG.
+
:[in]  Specifies what settings should be kept.
 +
 
 +
==== Description ====
 +
{| class="wikitable sortable collapsible" style="width: 100%"
 +
|-
 +
! style="text-align: left" scope="col" width="15%" | Flag
 +
! style="text-align: left" scope="col" class="unsortable" | Description
 +
|-
 +
|PRSF_KeepOptions
 +
|Set this flag to keep common settings of plugin
 +
|-
 +
|PRSF_KeepPresets
 +
|Set this flag to keep plugin presets if any
 +
|}
  
 
== Return Value ==
 
== Return Value ==
Line 15: Line 32:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Plugin|IPXV_Plugin]].
+
[[PXV:IPXV_Plugin|IPXV_Plugin]]

Latest revision as of 04:06, 15 June 2015


Resets plugin's specific settings during resetting Editor's settings. Provided flags describe which kind of settings (e.g. plugin presets) should be kept.

Syntax

HRESULT ResetSettings([in]  ULONG  nFlags);

Parameters

nFlags
[in] Specifies what settings should be kept.

Description

Flag Description
PRSF_KeepOptions Set this flag to keep common settings of plugin
PRSF_KeepPresets Set this flag to keep plugin presets if any

Return Value

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

See Also

IPXV_Plugin