IPropertyBag Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implemented to create a read-only object to contain printer settings for passing to the Import method of a custom data importer.
public interface class IPropertyBag
[System.Runtime.InteropServices.Guid("55272A00-42CB-11CE-8135-00AA004BB851")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IPropertyBag
type IPropertyBag = interface
Public Interface IPropertyBag
- Attributes
Remarks
An implementation of the IPropertyBag interface should expose the following values.
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.
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
Methods
RemoteRead(String, Object, IErrorLog, UInt32, Object) |
Used to read printer settings for populating an IPropertyBag object in a custom data importer. |
Write(String, Object) |
Available to the implementation of the IPropertyBag interface of a custom data importer, but always returns E_ACCESSDENIED. |