mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER
Code Details >> Resource_Object >> Web_Info >> Get_Valid_Viewer_Code

Web_Info.Get_Valid_Viewer_Code Method



Gets a valid viewer code for this item, based on the requested viewer code and page


Namespace: SobekCM.Resource_Object
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public string Get_Valid_Viewer_Code(
	string ViewerCode,
	int Page
)

Parameters

ViewerCode
Type: System..::..String
Requested viewer code
Page
Type: System..::..Int32
Requested page

Return Value

Type: String
Valid viewer code and page

Remarks

The requested viewer code and page are validated, and if valid, returned. Otherwise, the closest valid viewer code to the one requested is returned.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )