|[Top] [Chapter] [Previous] [Next]|
Locates a header or footer layer.
IWPDataBlock BlockFind([In] DataBlockKind Kind, [In] DataBlockRange Range, [In] string Name, [In] int SectionID);
This method is used to check if a certain header or footer layer exists. If it does, its ID, >0 is retuned. This ID can be used in even OnGetSpecialText to select this header or footer for a certain page.IWPDataBlock reference.
Note: Please don't forget to call ReleaseInt() with the returned interface at the end of your code.