public bool SetTextSettings(Cite_Overlay co) { bool flag = false; if (this.IsConnected) { flag = CiteDLL.XX_SetTextStampSetting(this.CamSerial, co.TextPos, co.Red, co.Green, co.Blue, co.AddBadge, co.AddGPS); } return(flag); }
public Cite_Overlay GetTextSettings() { Cite_Overlay citeOverlay = new Cite_Overlay(); int num = 0; int num1 = 0; int num2 = 0; int num3 = 0; int num4 = 0; int num5 = 0; if (this.IsConnected && CiteDLL.XX_GetTextStampSetting(this.CamSerial, out num, out num1, out num2, out num3, out num4, out num5)) { citeOverlay.AddBadge = num4; citeOverlay.AddGPS = num5; citeOverlay.TextPos = num; citeOverlay.Red = num1; citeOverlay.Green = num2; citeOverlay.Blue = num3; } return(citeOverlay); }