IPXV_BookmarksView::ShowBookmark Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ShowBookmark([in] IPXC_Bookmark* pBookm, [in, optional] VARIANT_BOOL bAllowPartialVisible, [in, optional] VARIANT_BOOL bAllowSmoothScroll);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ShowBookmark([in] IPXC_Bookmark* pBookm, [in, defaultvalue(0)] VARIANT_BOOL bAllowPartialVisible, [in, defaultvalue(0)] VARIANT_BOOL bAllowSmoothScroll);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the bookmark that would be shown.
 
:[in]  Pointer to [[PXV:IPXC_Bookmark|IPXC_Bookmark]] containing the bookmark that would be shown.
 
;''bAllowPartialVisible''
 
;''bAllowPartialVisible''
:[in, optional]  Choose whether the shown bookmarks could be partly visible.
+
:[in, defaultvalue(0)]  Choose whether the shown bookmarks could be partly visible.
 
;''bAllowSmoothScroll''
 
;''bAllowSmoothScroll''
:[in, optional]  Choose whether to allow smooth scrolling to the bookmark.
+
:[in, defaultvalue(0)]  Choose whether to allow smooth scrolling to the bookmark.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 00:35, 17 April 2015

Makes bookmark visible in the bookmarks view.

Syntax

HRESULT ShowBookmark([in] IPXC_Bookmark* pBookm, [in, defaultvalue(0)] VARIANT_BOOL bAllowPartialVisible, [in, defaultvalue(0)] VARIANT_BOOL bAllowSmoothScroll);

Parameters

pBookm
[in] Pointer to IPXC_Bookmark containing the bookmark that would be shown.
bAllowPartialVisible
[in, defaultvalue(0)] Choose whether the shown bookmarks could be partly visible.
bAllowSmoothScroll
[in, defaultvalue(0)] Choose whether to allow smooth scrolling to the bookmark.

Return Value

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

See Also

See also IPXV_BookmarksView.