IPropertyBag Interface
InfoPath Developer Reference |
Implemented to create a read-only object to contain printer settings for passing to the Import method of a custom data importer.
Version Information
Version Added: InfoPath 2007
Remarks
An implementation of the IPropertyBag interface should expose the following values.
Value | Description |
---|---|
PageSize | Returns an unparsed string corresponding to the current page size, such as "A4", "B4", "Letter", and so on. |
TopMargin | The size of the top margin. |
BottomMargin | The size of the bottom margin. |
LeftMargin | The size of the left margin. |
RightMargin | The size of the right margin. |
MarginUnitsType | The type of unit used for measuring margins. |
Note |
---|
These values will not be available if the user has no installed printers. |
This object or member is used for extending the InfoPath application and is not intended to be used directly from your form code.
A custom data importer is created by implementing the IInfoPathDataImporter interface. For more information about programmatically importing data into an InfoPath form, see the InfoPath Developer Portal on the Microsoft Office Developer Center.
See Also