ComponentOne PdfViewer for WPF and Silverlight
C1.Silverlight.PdfViewer.5 Assembly / C1.Silverlight.PdfViewer Namespace / PdfZoomConverter Class / Convert Method
The double or ViewMode value being passed to the target.
The System.Type of data expected by the target dependency property.
An optional parameter to be used in the converter logic.
The culture of the conversion.

In This Topic
    Convert Method (PdfZoomConverter)
    In This Topic
    Modifies the source data before passing it to the target for display in the UI.
    Syntax
    'Declaration
     
    
    Public Function Convert( _
       ByVal value As Object, _
       ByVal targetType As Type, _
       ByVal parameter As Object, _
       ByVal culture As CultureInfo _
    ) As Object

    Parameters

    value
    The double or ViewMode value being passed to the target.
    targetType
    The System.Type of data expected by the target dependency property.
    parameter
    An optional parameter to be used in the converter logic.
    culture
    The culture of the conversion.

    Return Value

    The string value to be passed to the target dependency property.
    See Also