BarcodeGenerator.GetSampleBarcodeImage Method (Microsoft.Office.RecordsManagement.PolicyFeatures)
Gets a sample bar code image for the specified item.
Namespace: Microsoft.Office.RecordsManagement.PolicyFeatures
Assembly: Microsoft.Office.Policy.Barcode.Generator (in microsoft.office.policy.barcode.generator.dll)
Syntax
'Declaration
Public Function GetSampleBarcodeImage ( _
spSite As SPSite _
) As Image
'Usage
Dim instance As BarcodeGenerator
Dim spSite As SPSite
Dim returnValue As Image
returnValue = instance.GetSampleBarcodeImage(spSite)
public Image GetSampleBarcodeImage (
SPSite spSite
)
Parameters
- spSite
Site collection to get the sample bar code image from.
Return Value
A sample bar code image.
Remarks
For an example of how to use this method, see the example in the GetBarcodeValueAndImage method.
See Also
Reference
BarcodeGenerator Class
BarcodeGenerator Members
Microsoft.Office.RecordsManagement.PolicyFeatures Namespace