BarcodeGenerator.GetSampleBarcodeImage Method
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
Type: Microsoft.SharePoint.SPSiteSite collection to get the sample bar code image from.
Return Value
Type: System.Drawing.Image
A sample bar code image.
Implements
IBarcodeGenerator.GetSampleBarcodeImage(SPSite)
Remarks
For an example of how to use this method, see the example in the GetBarcodeValueAndImage method.