logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jlrsistemas  
#1 Posted : Saturday, January 3, 2015 8:37:32 AM(UTC)
jlrsistemas

Rank: Newbie

Groups: Registered
Joined: 1/3/2015(UTC)
Posts: 1

Hi

I need show in vMix a title with the font in style capitals. The first letter of each word in uppercase and lowercase the rest. (See image at bottom)

How should I code this in xaml?

This is the xaml code I wrote in file Facebook.xaml in folder vMix2012/titles:

Code:

<UserControl x:Class="Facebook"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Width="1920" Height="1080" xmlns:my="clr-namespace:vMixTitleLibrary;assembly=vMixTitleLibrary">
    <Grid>
               

<Image HorizontalAlignment="Left" Margin="0,0,0,0" Name="BackgroundImage" Stretch="Fill" VerticalAlignment="Top" Width="1920" Height="1080" Source="Facebook.xaml.png" Opacity="1" />
        

<my:TextBlockDesign 
	HorizontalAlignment="Left" 
	Name="TxtFacebook" 
	VerticalAlignment="Center" 
	Width="1920" 
	Fill="White" 
	FontSize="50" 
	FontWeight="Bold" 
	Text="Follow us in Facebook" 
	Stroke="White" 
	StrokeThickness="0" 
	FontFamily="Times New Roman" 
	Margin="600,770,0,120" 
	Height="300" 
	Highlight="False"
/>
        

<my:TextBlockDesign 
	Fill="Black" 
	FontFamily="Times New Roman" 
	FontSize="40" 
	FontWeight="Normal" 
	Height="0" 
	HorizontalAlignment="Left" 
	Margin="577,905,0,120" 
	Name="AddressPage" 
	StrokeThickness="0" 
	Text="www.Facebook.com/MyFacebookPage" 
	VerticalAlignment="Center" 
	Width="1920"
/>
    

</Grid>
</UserControl>


Image example:
UserPostedImage

Best regards,

Jorge
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.